package org.jeecg.modules.door.vo;

import java.util.List;
import org.jeecg.modules.door.entity.LwgyJointDoor;
import org.jeecg.modules.door.entity.LwgyDoorPassword;
import org.jeecg.modules.door.entity.LwgyDoorCard;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 门锁管理
 * @Author: jeecg-boot
 * @Date:   2023-08-08
 * @Version: V1.0
 */
@Data
@ApiModel(value="lwgy_joint_doorPage对象", description="门锁管理")
public class LwgyJointDoorPage {

	/**主键*/
/*	@ApiModelProperty(value = "主键")
	private String id;*/
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**校区*/
	@Excel(name = "校区", width = 15)
	@ApiModelProperty(value = "校区")
	private String xq;
	/**楼宇*/
	@Excel(name = "楼宇", width = 15)
	@ApiModelProperty(value = "楼宇")
	private String lh;
	/**楼层*/
	@Excel(name = "楼层", width = 15)
	@ApiModelProperty(value = "楼层")
	private String ch;
	/**单元*/
	@Excel(name = "单元", width = 15)
	@ApiModelProperty(value = "单元")
	private String unit;
	/**房间*/
	@Excel(name = "房间", width = 15)
	@ApiModelProperty(value = "房间")
	private String fjh;
	/**房间*/
	@Excel(name = "房间id", width = 15)
	@ApiModelProperty(value = "房间id")
	private String roomId;

	/**主键*/
	@Excel(name = "门锁", width = 15)
	@ApiModelProperty(value = "主键")
	private String id;
	/**所属网关*/
	@Excel(name = "所属网关", width = 15,dictTable = "lwgy_joint_gateway", dicText = "gateway_name", dicCode = "id")
	@Dict(dictTable = "lwgy_joint_gateway", dicText = "gateway_name", dicCode = "id")
	@ApiModelProperty(value = "所属网关")
	private String gatewayId;

	/**门锁标识*/
	@Excel(name = "门锁标识", width = 15)
	@ApiModelProperty(value = "门锁标识")
	private String doorNo;
	/**控制类型*/
	@Excel(name = "控制类型", width = 15, dicCode = "eglock_type")
    @Dict(dicCode = "eglock_type")
	@ApiModelProperty(value = "控制类型")
	private String doorType;

	@ExcelCollection(name="密码管理")
	@ApiModelProperty(value = "密码管理")
	private List<LwgyDoorPassword> lwgyDoorPasswordList;
	@ExcelCollection(name="ic卡设置")
	@ApiModelProperty(value = "ic卡设置")
	private List<LwgyDoorCard> lwgyDoorCardList;

}
